package com.owc.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2020/2/27 16:52
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("兑换历史DTO")
public class ExchangeBaseDTO implements Serializable {

    @ApiModelProperty("兑换时间")
    private String time;

    @ApiModelProperty("兑换源")
    private String fromTokenName;

    @ApiModelProperty("兑换目标")
    private String toTokenName;

    @ApiModelProperty("兑换汇率")
    private BigDecimal rate;

    @ApiModelProperty("兑换数量")
    private BigDecimal amount;

    @ApiModelProperty("获得数量")
    private BigDecimal result;

}
